﻿using System;
using System.Collections.Generic;
using System.Text;
using Axis.BusinessObject.Base;

namespace Axis.BusinessObject.News
{
    [Serializable]
    public class CNews : CObjectBase
    {
        public CNews()
        {
            //CSVFields = new string[] { "ID", "Title", "Summary", "Content", "CreatedDateTime", "CreatedBy", "LastUpdatedDateTime", "LastUpdatedBy" };
        }
        #region Public property

        public int ID { get; set; }
        public string Code { get; set; }
        public string Title { get; set; }
        public string Summary { get; set; }
        public string Content { get; set; }
        public string Image { get; set; }
        public string ThumbnailImage { get; set; }
        public string Tags { get; set; }
        public int CategoryID { get; set; }
        public string CategoryName { get; set; }
        public int ProjectID { get; set; }
        public string ProjectName { get; set; }
        public int ProjectType { get; set; }
        public string ProjectTypeName { get; set; }
        public int ProjectVoteCount { get; set; }
        public decimal ProjectVotePercent { get; set; }
        public int ZOrder { get; set; }
        public bool IsSpecial { get; set; }
        public DateTime WritenDate { get; set; }
        public DateTime CreatedDateTime { get; set; }
        public int? CreatedBy { get; set; }
        public string CreatedByUserName { get; set; }
        public DateTime? LastUpdatedDateTime { get; set; }
        public int? LastUpdatedBy { get; set; }
        public int? Status { get; set; }
        public string LastUpdatedByUserName { get; set; }
        #endregion
    }
}
